<?php
use App\Models\Class_section_group;
use League\Fractal\TransformerAbstract;

class GetGroupTransformer extends TransformerAbstract
{
    public function transform(Class_section_group $Class_section_group)
    {
        return [
            'id' => $Class_section_group['id'],
            'name' => $Class_section_group['name']
        ];
    }
}